<include file="Public/header" title="节点列表" />
<include file="Public/sidebar" />



<!-- 内容开始 -->
<div class="col-sm-9 col-xm-9 col-md-10  content">
<div id="node" >
	<a  href="{:U('/__CONTROLLER__/addNode')}" class="add-app">添加应用</a>
	<foreach name="node" item="app">
		<div class="app">
			<strong>{$app.title}</strong> 
			[<a href="{:U('/__CONTROLLER__/addNode',array('pid'=>$app['id'],'level'=>2))}">添加控制器</a>]
			[<a href="{:U('/__CONTROLLER__/editNode',array('id'=>$app['id']))}">修改</a>]
		</div>
		<foreach name="app.child" item="controller">
		
				<div id="controller" class="breadcrumb">
					<strong>{$controller.title}</strong>
					[<a href="{:U('/__CONTROLLER__/addNode',array('pid'=>$controller['id'],'level'=>3))}">添加方法</a>]
				</div>
				<foreach name="controller.child" item="method">
					<div id="method">
						<span>{$method.title}</span>
						[<a href="{:U('/__CONTROLLER__/editNode',array('id'=>$method['id']))}">修改</a>]
						[<a href="#">删除</a>]
					</div>
				</foreach>
				<div class="clearfix"></div>
		</foreach>
		<div class="clearfix"></div>
	</foreach>

</div>

</div>
<!-- 内容结束 -->


<include file="Public/footer"  />
